# conding utf-8
from selenium.webdriver.common.by import By

# 左侧菜单栏
left_menu_sys = By.XPATH, "//li[8]//div//span//span[text()='商品管理']"
left_menu = By.XPATH, "//li[8]//ul//li[1]//a"

#新增
insert_catalog_btn=By.XPATH,"//button[span[text()='添加类别']]"
catalog_name=By.XPATH,"//input[@data-v-47ee38a2 and @placeholder='请输入名称']"
catalog_ref=By.XPATH,"//input[@data-v-47ee38a2 and @placeholder='请输入编号']"
catalog_sort=By.XPATH,"//form[@data-v-47ee38a2]/div[4]/div[2]/div/span/input"
catalog_remaker=By.XPATH,"//textarea[@data-v-47ee38a2 and @placeholder='请输入备注']"
catalog_check=By.XPATH,"//ul[@data-v-2059e760 and @class='ant-tree ant-tree-icon-hide']/li/span[2]"
choice_catalog_btn=By.XPATH,"//span[text()='请选择上级目录']"
senior_catalog=By.XPATH,"(//span[@title='目录1'])[2]"

catalog_expected=By.XPATH,"//span[@title='目录3']"
insert_qr_btn= By.XPATH, "//button[span[text()='确 定']]"

#编辑
